package ogmios.components.munches;

/**
 * A Context is a device that a Chainable or Command interacts with.
 */
public interface Context
{
 /**
 * Prints the output
 */
 void print(String output);
 /**
 * Prints the output with a trailing new line
 */
 void println(String output);
 /**
 * Gets the current working directory
 */
 String getCurrentWorkingDirectory();
 /**
 * Sets the current working directory.<br/>
 * NOTE: Not all contexts support changing the working directory
 */
 void setCurrentWorkingDirectory(String currentWorkingDirectory);
 public static final Context EMPTY_CONTEXT = new ContextAdapter();
}
